package chap5;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class DailyCheck3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String result = "";
        do {
            System.out.println("令狐冲上午学习理论，下午上机！");
            System.out.print("岳不群来检查，合格了吗？");
            result = in.next();
        } while (!result.equals("合格"));
        System.out.println("合格了，寒假开始！");
    }
}
